package com.ruoyi.students.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 学生基本信息管理对象 tb_students
 * 
 * @author yxy
 * @date 2024-10-17
 */

@Data
public class Students extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private String studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 班级 */
    @Excel(name = "班级")
    private String studentclass;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 入学年份 */
    @Excel(name = "入学年份")
    private String yearAdmission;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 生源地 */
    @Excel(name = "生源地")
    private String originPlace;

    /** 独生子女 */
    @Excel(name = "独生子女")
    private String isOnlyChild;

    /** 任职情况 */
    @Excel(name = "任职情况")
    private String cadrePosition;

    /** 学校情况*/
    @Excel(name = "学校信息")
    private String scchoolMeaasge;

    /** 密码*/
    private String password;
}
